package com.brillilab.service.core.method;

import com.brillilab.common.entity.PageVo;
import com.brillilab.domain.po.method.MethodShare;

import java.util.List;

public interface IMethodShareService {
    boolean addList(List<MethodShare> shareList);
    MethodShare getByIdAndReceiveMemberId(Long shareId, Long labMemberId);
    boolean updateById(MethodShare share);
    PageVo<MethodShare> listSharePaged(Long labMemberId,Integer state,Integer pageIndex,Integer rows,boolean isShareToMe,boolean isDesc);
    /**
             * 分享未处理条数
     * @param labMemberId
     * @return
     */
	int countUntreated(Long labMemberId);

	boolean deleteNotDeal(Long methodId);
}
